package com.ftg.learn.smhtml.qianduan.mapper;

import com.ftg.learn.smhtml.qianduan.pojo.Chanpin;
import com.ftg.learn.smhtml.qianduan.pojo.Guanyu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ChanpinMapper {

    @Select("select * from product")
    public List<Chanpin> showAll();
}
